<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>display 演示文档</title>
    <!-- <link rel="stylesheet" href="/20class/20210913/css20/visiable.css" /> -->
    <style>
      div > p {
        color: red;
        display: none;
      }
/*       
      span {
        display: inline;
        height: 100px;
        width: 100px;
      } */
      #second {
        display: inline;
        background-color: red;
      }
      
    </style>
  </head>
  <body>
    <div style="background-color:aqua; width: 1200px;">
      <span style="border: 1px soild; width: 4000px; background-color: green;">我是一个span标签,我不会多占用空间</span>
      <p>我是第一个p标签 将用我来演示display属性 none 的值</p>
      <span id="second">我是第二个span标签 将用我来演示display属性 inline的值</span>
      <span style="background-color:brown;display: block;"> 我是第三个span</span>
      <div>lskdjfl</div>
    </div>
  </body>
</html>